<!DOCTYPE html>

<html>
    <head>
        <title>微商店后台管理</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link href="/onethink_1.0_140202/Public/favicon.ico" type="image/x-icon" rel="shortcut icon">
        <link rel="stylesheet" type="text/css" href="__CSS__/layout_css.css" media="all">
        <script src="__JS__/jQuery.min.js" ></script>
    </head>
    <body>
        <div id="header">
            <img src="__IMG__/logo.png" class="logo" />
            <ul class="nav">
                <volist name="menu.main" id="item">
                    <li class="{$item.class}"><a href="{$item.url|U}">{$item.title}</a></li>
                </volist>
                
            </ul>
        </div>
        
        <div id="middle">
            <div id="menu">
                
                <ul>
                    
                    <volist name="menu.child" id="item">
                        <li class="group">


                        <empty name="item.child">
                            
                            <span><i class="icon"></i>&nbsp;<a href="{$item.url}">{$item.title}</a></span>
                            
                            <else />
                            
                            <span style="font-weight: bold;"><i class="icon icon_h"></i><a href="javaScript:;">{$item.title}</a></span>
                            <ul>
                                <volist name="item.child" id="nav">
                                    <li><a href="{$nav.url}">{$nav.title}</a></li>
                                </volist>
                            </ul>
                            
                        </empty>
                        </li>
                    </volist>
                    
                    
                </ul>
                
                
            </div>
            <div id="min-content">
                {__CONTENT__}
            </div>
        </div>
        
        <script>
            $(function(){
                
                $("#middle").height($(document).height()-50);
                $("#min-content").height($(document).height()-50);
                $(window).resize(function(){
                    $("#middle").height($(document).height()-50);
                });
                
                $("#menu dt").click(function(){
                    
                })
                
                $(".group span").click(function(){
                    $(this).parent().find("ul").slideToggle();
                });
                
            })
        </script>
        
    </body>
</html>
